package demo3;

/**
 * @author Huangjin
 * @version 1.0
 * describe:雇员
 * @date 2023/2/23 18:35
 */
public abstract class Employee {
    String name;
    int age;
    double salary;
    /**雇员*/
    public Employee(String name, int age, double salary) {
        this.name = name;
        this.age = age;
        this.salary = salary;
    }
    /**上班打卡*/
    void clockInToWork(){
        System.out.println(name+"上班了打卡成功");
    }
    /**下班打卡*/
    void clockInAfterWork(){
        System.out.println(name+"下班了打卡成功");
    }
    /**完成工作*/
    abstract void getTheJobDone();

}
